<template>
  <div class="validate">
    <router-view></router-view>
  </div>
</template>
<script type="text/javascript">
/**
 * 用于校验用户进入app-oc还是app-sc
 * 目前都是app-sc
 */
export default {
  name: 'Validate',
  mounted () {
    if (this.$router.currentRoute.fullPath.indexOf('/app') === -1) {
      this.$router.push('/app-sc');
    }
  }
};
</script>
<style lang="scss" scoped>
.validate {
  height: 100%;
  width: 100%;
}
</style>
